<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="TestServlet?method=login&love=bbb&love=ccc" method="post">
  <input type="hidden" name="userId" value="1000"> 
   用户名：<input type="text" name="uname"><br>
   密码：<input type="password" name="upass"/><br>
   爱好：<input type="checkbox" name="love" value="music"/>音乐
   <input type="checkbox" name="love" value="film"/>电影
   <input type="checkbox" name="love" value="football"/>足球<br>
   <input type="submit" value="登录">
</form>
</body>
</html>